package com.hzw.saas.api.schedule;


import com.hzw.saas.api.schedule.bo.MeetingBo;
import com.hzw.saas.api.schedule.query.UserScheduleMeetingAddQuery;
import com.hzw.saas.api.schedule.query.UserScheduleMeetingUpdateQuery;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface IUserScheduleMeetingService {


    /**
     * 添加会议 以及自动创建关联用户日程
     *
     * @param meetingAddQuery the meeting add query
     * @return the boolean
     */
    Boolean addScheduleAndMeeting(UserScheduleMeetingAddQuery meetingAddQuery);

    /**
     * 获取会议信息.
     *
     * @param userId    the user id
     * @param meetingId the meeting id
     * @return the meeting
     */
    List<MeetingBo> getMeeting(String userId, String meetingId);

    /**
     * 更新会议信息.
     *
     * @param updateQuery the update query
     * @return the boolean
     */
    Boolean updateMeeting(UserScheduleMeetingUpdateQuery updateQuery);

    /**
     * 删除取消会议.
     *
     * @param meetingId the meeting id
     * @return the boolean
     */
    Boolean deleteMeeting(String meetingId);
}
